//google.load("jquery", "1.3.2");
//google.load("jqueryui", "1.7.2");
var dredirect=function($url,$time){
	if($time){
		setTimeout(function(){window.location.href=$url;},$time);
	}else{
		window.location.href=$url;
	}
};
var showMessage=function($title,$message,$modal){
	$dialog=$('<div title="'+$title+'">'+$message+'</div>');
	$dialog.dialog({
		bgiframe: true,
		modal: $modal,
		buttons: {
			OK: function() {
				$(this).dialog('close');
			}
		}
	});
};
